package com.zmxstudy.rbac.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName brand
 */
@TableName(value ="brand")
@Data
public class Brand implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 品牌名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 商标图片链接
     */
    @TableField(value = "image")
    private String image;

    /**
     * 品牌英文名
     */
    @TableField(value = "nameEN")
    private String nameen;

    /**
     * 品牌logo地址
     */
    @TableField(value = "logo")
    private String logo;

    /**
     * 类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 品牌描述信息
     */
    @TableField(value = "`desc`")
    private String desc;

    /**
     * 品牌产地
     */
    @TableField(value = "place")
    private String place;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}